package com.装饰器模式;

/**
 * 具体构件
 * @author Fang Ruichuan
 * @date 2022-09-29 9:55
 */
public class Dog extends Animal {

    @Override
    public void move() {
        System.out.println("狗子跑起来吧。。。。。");
    }

    @Override
    public void bite() {
        System.out.println("狗子生气了，咬你。。。。。");
    }
}
